package com.app.dao;

import com.app.entity.Recommend;
import com.app.repository.IRecommendRepository;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * 推荐商品
 *
 * @autor xiaoyu.fang
 * @date 2019/10/10 11:20
 */
public interface RecommendRepository extends IRecommendRepository, MongoRepository<Recommend, ObjectId> {

    List<Recommend> findByDataStatus(Integer dataStatus);
}
